package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_cash")
public class Cash extends BaseEntity {

    private Integer id;
    /**
     * 商家编号
     **/
    private Integer companyId;
    /**
     * 配送员编号
     **/
    private Integer deliveryId;
    /**
     * 提现金额
     **/
    private BigDecimal money;
    /**
     * 提现时间
     **/
    private Date created;
    /**
     * 提现状态
     **/
    private Integer state;
    /**
     * 银行卡号
     **/
    private String bankCard;
    /**
     * 银行人名称
     **/
    private String name;
    /**
     * 提现银行
     **/
    private String bankName;
    /**
     * 手机号
     **/
    private String mobile;
    /**
     * 拒绝理由
     **/
    private String reason;
    /**
     * 处理时间
     **/
    private Date dealTime;

    /**
     * 绑定的银行卡编号
     *
     * @return
     */
    private Integer bankcardId;
    /**
     * 1 普通提现   2 返利提现
     *
     * @return
     */
    private Integer type;
    /**
     * 用户编号
     *
     * @return
     */
    private Integer userId;

    /**
     * 处理人姓名
     *
     * @return
     */
    private String dealName;


    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 商家编号
     **/
    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    /**
     * 配送员编号
     **/
    public Integer getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(Integer deliveryId) {
        this.deliveryId = deliveryId;
    }

    /**
     * 提现金额
     **/
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 提现时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 提现状态
     **/
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * 银行卡号
     **/
    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    /**
     * 银行人名称
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 提现银行
     **/
    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    /**
     * 手机号
     **/
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 拒绝理由
     **/
    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 处理时间
     **/
    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public Integer getBankcardId() {
        return bankcardId;
    }

    public void setBankcardId(Integer bankcardId) {
        this.bankcardId = bankcardId;
    }

    /**
     * 处理人姓名
     *
     * @return
     */
    public String getDealName() {
        return dealName;
    }

    public void setDealName(String dealName) {
        this.dealName = dealName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}